import 'express'

declare global {
  namespace Express {
    export interface Request {
      user?: User;
    }
    export interface User {
      id: number;
      email: string;
      password: string;
      userPicPath: string;
    }
    interface Response {
      cc: (message: object | string, data: object | string, status?: number) => void;
    }
  }
}